@charset "UTF-8";
.app {
  position: fixed;
  bottom: 0;
  left: 0;
  display: flex;
  transform: translateX(30%);
}

.App {
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 100%;
  max-width: 600px;
  margin: 0 auto;
}

.app {
  margin-bottom: 20px;
}

.chatWindow {
  width: 100%;
  max-height: 620px;
  overflow-y: auto;
  padding: 10px;
}

.message {
  margin-bottom: 10px;
  padding: 10px;
  border-radius: 5px;
  max-width: 80%;
}

.userMessage {
  /* 浅绿色背景表示用户消息 */
  float: right;
  /* 右侧对齐 */
  clear: both;
  /* 清除浮动，确保消息不会重叠 */
}

.aiMessage {
  /* 浅蓝色背景表示AI消息 */
  float: left;
  /* 左侧对齐 */
  clear: both;
  /* 清除浮动 */
}

.message-header {
  font-weight: bold;
  margin-bottom: 5px;
}

.message-content {
  white-space: pre-wrap;
  word-wrap: break-word;
}
